using B.S.RbacData.ErrorCode;
using MediatR;
using SupplierCustomerManagement.Read.API.Dtos;

namespace SupplierCustomerManagement.Read.API.Applications.Commands.customers
{
    /// <summary>
    /// 根据ID获取客户详细信息查询命令
    /// </summary>
    public class GetCustomerByIdQuery : IRequest<ApiResult<CustomerDetailDto>>
    {
        /// <summary>
        /// 客户ID
        /// </summary>
        public int Id { get; set; }

        public GetCustomerByIdQuery(int id)
        {
            Id = id;
        }
    }
}
